package com.linln.modules.system.repository;

import com.linln.modules.system.domain.PatientClinicalInformationEntity;
import com.linln.modules.system.domain.PatientParentsSituationEntity;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Date;
import java.util.List;

public interface RPatientParentsSituationRepository extends JpaRepository<PatientParentsSituationEntity,Long> {
    public PatientParentsSituationEntity findByBah(String bah);

    public List<PatientParentsSituationEntity> findAllByBah(String bah);

    public PatientParentsSituationEntity findByBahAndCyrq(String bah, Date cyrq);
}
